﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace EmailClient
{
    public partial class NewFolder : Form
    {
        public NewFolder()
        {
            InitializeComponent();
        }

        private void btn_Add_Click(object sender, EventArgs e)
        {
            if (txt_FolderName.Text == "")
                MessageBox.Show("Enter folder name!");
            else
                Close();
        }

        private void NewFolder_Load(object sender, EventArgs e)
        {
            txt_FolderName.Select();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
